package app;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;
import service.dataconfig.DataBaseConfiguration;

/**
 * Created by Administrator on 2016/10/31.
 */
@EnableDiscoveryClient
@SpringBootApplication
@Import(DataBaseConfiguration.class)
public class ServiceApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(ServiceApplication.class).web(true).run(args);
    }



}




